package org.example.ch02.p24;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String input=sc.nextLine().trim();
        String[]data=input.split(" ");
        StringBuilder result=new StringBuilder();
        for (String item:data) {
            int num=Integer.parseInt(item);
            if(num<0){
                result.append("0,");
            }else if (num>100){
                result.append("100,");
            }else{
                result.append(num).append(",");
            }
        }
        System.out.println(result.toString());
        sc.close();
    }
}
